//
//  HMStatusPicture.swift
//  新浪微博
//
//  Created by 饶鹏伟 on 16/4/13.
//  Copyright © 2016年 饶鹏伟. All rights reserved.
//

import UIKit

//每条微薄的每张图片对象 这里获得的是图片的url
class HMStatusPicture: NSObject {

    var thumbnail_pic: String?
    
    init(dict : [String : String]) {
        
        super.init()
        
        setValuesForKeysWithDictionary(dict)
    }
    
   //过滤
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
    
    // 将对象转化为字符串
    override var description: String {
        let keys = ["thumbnail_pic"]
        let dict = self.dictionaryWithValuesForKeys(keys)
        return dict.description
    }
    
}
